package ooday05.JavaCodeHomework.Q1;
/** 演示PointDemo04类 */
public class PointDemo04 {
    private int x4;
    private int y4;

    public int getX() {
        return x4;
    }
    public void setX(int x) {
        if(x4 >= 0) {
            this.x4 = x;
        }
    }

    public int getY() {
        return y4;
    }
    public void setY(int y) {
        this.y4 = y;
    }
}
